package com.akuhome.resource.dto;

import java.util.ArrayList;
import java.util.List;

public class Menu {
    Integer id;
    String name;
    Long authCode;
    Integer parentId;
    List<Menu> subMenu = new ArrayList<>();

    public Menu() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Menu> getSubMenu() {
        return subMenu;
    }

    public void setSubMenu(List<Menu> subMenu) {
        this.subMenu = subMenu;
    }

    public Long getAuthCode() {
        return authCode;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public void setAuthCode(Long authCode) {
        this.authCode = authCode;
    }
}
